package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.fileupload;


import java.io.Serializable;

public class TImportMatchId implements Serializable {
    private static final long serialVersionUID = 1L;
    private String catId;
    private Long importId;

    public TImportMatchId(){
        super();
    }

    public TImportMatchId(String catId,Long importId){
        this.catId=catId;
        this.importId=importId;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public Long getImportId() {
        return importId;
    }

    public void setImportId(Long importId) {
        this.importId = importId;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((catId == null) ? 0 : catId.hashCode());
        result = prime * result + ((importId == null) ? 0 : importId.hashCode());
        return result;
    }
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        TImportMatchId other = (TImportMatchId) obj;
        if (catId == null) {
            if (other.catId != null)
                return false;
        } else if (!catId.equals(other.catId))
            return false;
        if (importId == null) {
            if (other.importId != null)
                return false;
        } else if (!importId.equals(other.importId))
            return false;
        return true;
    }
}
